-- Copyright (C) 1991-2013 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions 
-- and other software and tools, and its AMPP partner logic 
-- functions, and any output files from any of the foregoing 
-- (including device programming or simulation files), and any 
-- associated documentation or information are expressly subject 
-- to the terms and conditions of the Altera Program License 
-- Subscription Agreement, Altera MegaCore Function License 
-- Agreement, or other applicable license agreement, including, 
-- without limitation, that your use is for the sole purpose of 
-- programming logic devices manufactured by Altera and sold by 
-- Altera or its authorized distributors.  Please refer to the 
-- applicable agreement for further details.

-- VENDOR "Altera"
-- PROGRAM "Quartus II 64-Bit"
-- VERSION "Version 13.1.0 Build 162 10/23/2013 SJ Full Version"

-- DATE "05/13/2025 17:31:42"

-- 
-- Device: Altera EP3C40F780C8 Package FBGA780
-- 

-- 
-- This VHDL file should be used for ModelSim-Altera (VHDL) only
-- 

LIBRARY ALTERA;
LIBRARY CYCLONEIII;
LIBRARY IEEE;
USE ALTERA.ALTERA_PRIMITIVES_COMPONENTS.ALL;
USE CYCLONEIII.CYCLONEIII_COMPONENTS.ALL;
USE IEEE.STD_LOGIC_1164.ALL;

ENTITY 	lab5 IS
    PORT (
	clk : IN std_logic;
	rst : IN std_logic;
	key_row : IN std_logic_vector(3 DOWNTO 0);
	ra : IN std_logic_vector(1 DOWNTO 0);
	wr : IN std_logic;
	rd : IN std_logic;
	m : IN std_logic_vector(1 DOWNTO 0);
	key_sel : IN std_logic_vector(1 DOWNTO 0);
	key_col : OUT std_logic_vector(3 DOWNTO 0);
	seg : OUT std_logic_vector(7 DOWNTO 0);
	sel : OUT std_logic_vector(2 DOWNTO 0)
	);
END lab5;

-- Design Ports Information
-- key_col[0]	=>  Location: PIN_AD11,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_col[1]	=>  Location: PIN_AD12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_col[2]	=>  Location: PIN_AF13,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_col[3]	=>  Location: PIN_AE14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[0]	=>  Location: PIN_G16,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[1]	=>  Location: PIN_G17,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[2]	=>  Location: PIN_F18,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[3]	=>  Location: PIN_G18,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[4]	=>  Location: PIN_G15,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[5]	=>  Location: PIN_G14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[6]	=>  Location: PIN_G12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- seg[7]	=>  Location: PIN_M21,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- sel[0]	=>  Location: PIN_C22,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- sel[1]	=>  Location: PIN_D22,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- sel[2]	=>  Location: PIN_G9,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- clk	=>  Location: PIN_A14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- rst	=>  Location: PIN_Y27,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- ra[1]	=>  Location: PIN_AF12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- ra[0]	=>  Location: PIN_AG12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- wr	=>  Location: PIN_AA10,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- rd	=>  Location: PIN_U8,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_sel[0]	=>  Location: PIN_AE3,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_sel[1]	=>  Location: PIN_AD4,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- m[0]	=>  Location: PIN_AF14,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- m[1]	=>  Location: PIN_AH12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[0]	=>  Location: PIN_AE13,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[2]	=>  Location: PIN_AF11,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[1]	=>  Location: PIN_AE12,	 I/O Standard: 2.5 V,	 Current Strength: Default
-- key_row[3]	=>  Location: PIN_AE11,	 I/O Standard: 2.5 V,	 Current Strength: Default


ARCHITECTURE structure OF lab5 IS
SIGNAL gnd : std_logic := '0';
SIGNAL vcc : std_logic := '1';
SIGNAL unknown : std_logic := 'X';
SIGNAL devoe : std_logic := '1';
SIGNAL devclrn : std_logic := '1';
SIGNAL devpor : std_logic := '1';
SIGNAL ww_devoe : std_logic;
SIGNAL ww_devclrn : std_logic;
SIGNAL ww_devpor : std_logic;
SIGNAL ww_clk : std_logic;
SIGNAL ww_rst : std_logic;
SIGNAL ww_key_row : std_logic_vector(3 DOWNTO 0);
SIGNAL ww_ra : std_logic_vector(1 DOWNTO 0);
SIGNAL ww_wr : std_logic;
SIGNAL ww_rd : std_logic;
SIGNAL ww_m : std_logic_vector(1 DOWNTO 0);
SIGNAL ww_key_sel : std_logic_vector(1 DOWNTO 0);
SIGNAL ww_key_col : std_logic_vector(3 DOWNTO 0);
SIGNAL ww_seg : std_logic_vector(7 DOWNTO 0);
SIGNAL ww_sel : std_logic_vector(2 DOWNTO 0);
SIGNAL \clk~inputclkctrl_INCLK_bus\ : std_logic_vector(3 DOWNTO 0);
SIGNAL \rst~inputclkctrl_INCLK_bus\ : std_logic_vector(3 DOWNTO 0);
SIGNAL \key_col[0]~output_o\ : std_logic;
SIGNAL \key_col[1]~output_o\ : std_logic;
SIGNAL \key_col[2]~output_o\ : std_logic;
SIGNAL \key_col[3]~output_o\ : std_logic;
SIGNAL \seg[0]~output_o\ : std_logic;
SIGNAL \seg[1]~output_o\ : std_logic;
SIGNAL \seg[2]~output_o\ : std_logic;
SIGNAL \seg[3]~output_o\ : std_logic;
SIGNAL \seg[4]~output_o\ : std_logic;
SIGNAL \seg[5]~output_o\ : std_logic;
SIGNAL \seg[6]~output_o\ : std_logic;
SIGNAL \seg[7]~output_o\ : std_logic;
SIGNAL \sel[0]~output_o\ : std_logic;
SIGNAL \sel[1]~output_o\ : std_logic;
SIGNAL \sel[2]~output_o\ : std_logic;
SIGNAL \clk~input_o\ : std_logic;
SIGNAL \clk~inputclkctrl_outclk\ : std_logic;
SIGNAL \u_display|sel[0]~2_combout\ : std_logic;
SIGNAL \rst~input_o\ : std_logic;
SIGNAL \rst~inputclkctrl_outclk\ : std_logic;
SIGNAL \u_display|sel[1]~0_combout\ : std_logic;
SIGNAL \u_key|Decoder0~0_combout\ : std_logic;
SIGNAL \u_key|Decoder0~1_combout\ : std_logic;
SIGNAL \u_key|Decoder0~2_combout\ : std_logic;
SIGNAL \u_key|Decoder0~3_combout\ : std_logic;
SIGNAL \wr~input_o\ : std_logic;
SIGNAL \key_row[1]~input_o\ : std_logic;
SIGNAL \key_row[3]~input_o\ : std_logic;
SIGNAL \u_key|WideOr3~4_combout\ : std_logic;
SIGNAL \key_row[0]~input_o\ : std_logic;
SIGNAL \key_row[2]~input_o\ : std_logic;
SIGNAL \u_key|WideOr3~0_combout\ : std_logic;
SIGNAL \u_key|WideOr2~1_combout\ : std_logic;
SIGNAL \u_key|WideOr2~0_combout\ : std_logic;
SIGNAL \u_key|WideOr2~2_combout\ : std_logic;
SIGNAL \rd~input_o\ : std_logic;
SIGNAL \r[2][5]~feeder_combout\ : std_logic;
SIGNAL \ra[1]~input_o\ : std_logic;
SIGNAL \key_sel[1]~input_o\ : std_logic;
SIGNAL \ra[0]~input_o\ : std_logic;
SIGNAL \key_sel[0]~input_o\ : std_logic;
SIGNAL \u_key|WideOr4~0_combout\ : std_logic;
SIGNAL \u_key|is_pressed~feeder_combout\ : std_logic;
SIGNAL \u_key|is_pressed~q\ : std_logic;
SIGNAL \always0~0_combout\ : std_logic;
SIGNAL \r[0][4]~0_combout\ : std_logic;
SIGNAL \r[2][4]~1_combout\ : std_logic;
SIGNAL \r[2][5]~q\ : std_logic;
SIGNAL \r[3][4]~2_combout\ : std_logic;
SIGNAL \r[3][4]~5_combout\ : std_logic;
SIGNAL \r[3][5]~q\ : std_logic;
SIGNAL \r[0][4]~4_combout\ : std_logic;
SIGNAL \r[0][5]~q\ : std_logic;
SIGNAL \r[1][5]~feeder_combout\ : std_logic;
SIGNAL \r[1][4]~3_combout\ : std_logic;
SIGNAL \r[1][5]~q\ : std_logic;
SIGNAL \Selector2~0_combout\ : std_logic;
SIGNAL \Selector2~1_combout\ : std_logic;
SIGNAL \Selector2~2_combout\ : std_logic;
SIGNAL \data[5]~0_combout\ : std_logic;
SIGNAL \r[1][1]~feeder_combout\ : std_logic;
SIGNAL \r[1][0]~6_combout\ : std_logic;
SIGNAL \r[1][1]~q\ : std_logic;
SIGNAL \r[3][0]~9_combout\ : std_logic;
SIGNAL \r[3][1]~q\ : std_logic;
SIGNAL \r[0][0]~8_combout\ : std_logic;
SIGNAL \r[0][1]~q\ : std_logic;
SIGNAL \r[2][1]~feeder_combout\ : std_logic;
SIGNAL \r[2][0]~7_combout\ : std_logic;
SIGNAL \r[2][1]~q\ : std_logic;
SIGNAL \Selector6~0_combout\ : std_logic;
SIGNAL \Selector6~1_combout\ : std_logic;
SIGNAL \Selector6~2_combout\ : std_logic;
SIGNAL \data[3]~5_combout\ : std_logic;
SIGNAL \u_display|sel[2]~1_combout\ : std_logic;
SIGNAL \m[0]~input_o\ : std_logic;
SIGNAL \m[1]~input_o\ : std_logic;
SIGNAL \u_key|WideOr3~1_combout\ : std_logic;
SIGNAL \u_key|WideOr3~2_combout\ : std_logic;
SIGNAL \u_key|WideOr3~3_combout\ : std_logic;
SIGNAL \Add1~0_combout\ : std_logic;
SIGNAL \Add1~2_combout\ : std_logic;
SIGNAL \Add2~0_combout\ : std_logic;
SIGNAL \Add2~1\ : std_logic;
SIGNAL \Add2~2_combout\ : std_logic;
SIGNAL \Add2~3\ : std_logic;
SIGNAL \Add2~4_combout\ : std_logic;
SIGNAL \Add2~5\ : std_logic;
SIGNAL \Add2~6_combout\ : std_logic;
SIGNAL \Add2~7\ : std_logic;
SIGNAL \Add2~8_combout\ : std_logic;
SIGNAL \Add2~9\ : std_logic;
SIGNAL \Add2~10_combout\ : std_logic;
SIGNAL \Mux11~0_combout\ : std_logic;
SIGNAL \Equal0~3_combout\ : std_logic;
SIGNAL \Add2~11\ : std_logic;
SIGNAL \Add2~12_combout\ : std_logic;
SIGNAL \Add2~13\ : std_logic;
SIGNAL \Add2~14_combout\ : std_logic;
SIGNAL \Mux9~0_combout\ : std_logic;
SIGNAL \Add2~15\ : std_logic;
SIGNAL \Add2~16_combout\ : std_logic;
SIGNAL \Add2~17\ : std_logic;
SIGNAL \Add2~18_combout\ : std_logic;
SIGNAL \Mux7~0_combout\ : std_logic;
SIGNAL \Equal0~2_combout\ : std_logic;
SIGNAL \Add2~19\ : std_logic;
SIGNAL \Add2~20_combout\ : std_logic;
SIGNAL \Mux6~0_combout\ : std_logic;
SIGNAL \Add2~21\ : std_logic;
SIGNAL \Add2~22_combout\ : std_logic;
SIGNAL \Add2~23\ : std_logic;
SIGNAL \Add2~24_combout\ : std_logic;
SIGNAL \Add2~25\ : std_logic;
SIGNAL \Add2~26_combout\ : std_logic;
SIGNAL \Add2~27\ : std_logic;
SIGNAL \Add2~28_combout\ : std_logic;
SIGNAL \Add2~29\ : std_logic;
SIGNAL \Add2~30_combout\ : std_logic;
SIGNAL \Mux1~0_combout\ : std_logic;
SIGNAL \Add2~31\ : std_logic;
SIGNAL \Add2~32_combout\ : std_logic;
SIGNAL \Mux0~0_combout\ : std_logic;
SIGNAL \Equal0~0_combout\ : std_logic;
SIGNAL \Equal0~1_combout\ : std_logic;
SIGNAL \Equal0~4_combout\ : std_logic;
SIGNAL \data[19]~1_combout\ : std_logic;
SIGNAL \data[19]~2_combout\ : std_logic;
SIGNAL \Add1~1\ : std_logic;
SIGNAL \Add1~3_combout\ : std_logic;
SIGNAL \Add1~12_combout\ : std_logic;
SIGNAL \u_key|WideOr0~1_combout\ : std_logic;
SIGNAL \u_key|WideOr0~0_combout\ : std_logic;
SIGNAL \u_key|WideOr0~2_combout\ : std_logic;
SIGNAL \u_key|WideOr1~0_combout\ : std_logic;
SIGNAL \u_key|WideOr1~1_combout\ : std_logic;
SIGNAL \u_key|WideOr1~2_combout\ : std_logic;
SIGNAL \Add1~4\ : std_logic;
SIGNAL \Add1~5_combout\ : std_logic;
SIGNAL \Add1~16_combout\ : std_logic;
SIGNAL \Add1~6\ : std_logic;
SIGNAL \Add1~7_combout\ : std_logic;
SIGNAL \Add1~20_combout\ : std_logic;
SIGNAL \Add1~8\ : std_logic;
SIGNAL \Add1~9_combout\ : std_logic;
SIGNAL \Add1~11_combout\ : std_logic;
SIGNAL \data[23]~3_combout\ : std_logic;
SIGNAL \data[23]~4_combout\ : std_logic;
SIGNAL \Add1~10\ : std_logic;
SIGNAL \Add1~13_combout\ : std_logic;
SIGNAL \Add1~15_combout\ : std_logic;
SIGNAL \u_display|Mux2~0_combout\ : std_logic;
SIGNAL \u_display|Mux2~1_combout\ : std_logic;
SIGNAL \u_display|Mux2~2_combout\ : std_logic;
SIGNAL \r[2][4]~feeder_combout\ : std_logic;
SIGNAL \r[2][4]~q\ : std_logic;
SIGNAL \r[3][4]~q\ : std_logic;
SIGNAL \r[0][4]~q\ : std_logic;
SIGNAL \r[1][4]~feeder_combout\ : std_logic;
SIGNAL \r[1][4]~q\ : std_logic;
SIGNAL \Selector3~0_combout\ : std_logic;
SIGNAL \Selector3~1_combout\ : std_logic;
SIGNAL \Selector3~2_combout\ : std_logic;
SIGNAL \u_display|Mux3~0_combout\ : std_logic;
SIGNAL \r[1][0]~feeder_combout\ : std_logic;
SIGNAL \r[1][0]~q\ : std_logic;
SIGNAL \r[3][0]~q\ : std_logic;
SIGNAL \r[0][0]~q\ : std_logic;
SIGNAL \r[2][0]~feeder_combout\ : std_logic;
SIGNAL \r[2][0]~q\ : std_logic;
SIGNAL \Selector7~0_combout\ : std_logic;
SIGNAL \Selector7~1_combout\ : std_logic;
SIGNAL \Selector7~2_combout\ : std_logic;
SIGNAL \u_display|Mux3~1_combout\ : std_logic;
SIGNAL \u_display|Mux3~2_combout\ : std_logic;
SIGNAL \r[1][3]~feeder_combout\ : std_logic;
SIGNAL \r[1][3]~q\ : std_logic;
SIGNAL \r[3][3]~q\ : std_logic;
SIGNAL \r[0][3]~q\ : std_logic;
SIGNAL \r[2][3]~feeder_combout\ : std_logic;
SIGNAL \r[2][3]~q\ : std_logic;
SIGNAL \Selector4~0_combout\ : std_logic;
SIGNAL \Selector4~1_combout\ : std_logic;
SIGNAL \Selector4~2_combout\ : std_logic;
SIGNAL \r[2][7]~feeder_combout\ : std_logic;
SIGNAL \r[2][7]~q\ : std_logic;
SIGNAL \r[3][7]~q\ : std_logic;
SIGNAL \r[0][7]~q\ : std_logic;
SIGNAL \r[1][7]~feeder_combout\ : std_logic;
SIGNAL \r[1][7]~q\ : std_logic;
SIGNAL \Selector0~0_combout\ : std_logic;
SIGNAL \Selector0~1_combout\ : std_logic;
SIGNAL \Selector0~2_combout\ : std_logic;
SIGNAL \Add1~14\ : std_logic;
SIGNAL \Add1~17_combout\ : std_logic;
SIGNAL \Add1~19_combout\ : std_logic;
SIGNAL \Add1~18\ : std_logic;
SIGNAL \Add1~21_combout\ : std_logic;
SIGNAL \Add1~23_combout\ : std_logic;
SIGNAL \u_display|Mux0~0_combout\ : std_logic;
SIGNAL \u_display|Mux0~1_combout\ : std_logic;
SIGNAL \u_display|Mux0~2_combout\ : std_logic;
SIGNAL \r[2][6]~feeder_combout\ : std_logic;
SIGNAL \r[2][6]~q\ : std_logic;
SIGNAL \r[3][6]~q\ : std_logic;
SIGNAL \r[0][6]~q\ : std_logic;
SIGNAL \r[1][6]~feeder_combout\ : std_logic;
SIGNAL \r[1][6]~q\ : std_logic;
SIGNAL \Selector1~0_combout\ : std_logic;
SIGNAL \Selector1~1_combout\ : std_logic;
SIGNAL \Selector1~2_combout\ : std_logic;
SIGNAL \r[1][2]~feeder_combout\ : std_logic;
SIGNAL \r[1][2]~q\ : std_logic;
SIGNAL \r[3][2]~q\ : std_logic;
SIGNAL \r[0][2]~q\ : std_logic;
SIGNAL \r[2][2]~feeder_combout\ : std_logic;
SIGNAL \r[2][2]~q\ : std_logic;
SIGNAL \Selector5~0_combout\ : std_logic;
SIGNAL \Selector5~1_combout\ : std_logic;
SIGNAL \Selector5~2_combout\ : std_logic;
SIGNAL \u_display|Mux1~0_combout\ : std_logic;
SIGNAL \u_display|Mux1~1_combout\ : std_logic;
SIGNAL \u_display|Mux1~2_combout\ : std_logic;
SIGNAL \u_display|WideOr6~0_combout\ : std_logic;
SIGNAL \u_display|seg[0]~0_combout\ : std_logic;
SIGNAL \u_display|WideOr5~0_combout\ : std_logic;
SIGNAL \u_display|seg[1]~1_combout\ : std_logic;
SIGNAL \u_display|WideOr4~0_combout\ : std_logic;
SIGNAL \u_display|seg[2]~2_combout\ : std_logic;
SIGNAL \u_display|WideOr3~0_combout\ : std_logic;
SIGNAL \u_display|seg[3]~3_combout\ : std_logic;
SIGNAL \u_display|WideOr2~0_combout\ : std_logic;
SIGNAL \u_display|seg[4]~4_combout\ : std_logic;
SIGNAL \u_display|WideOr1~0_combout\ : std_logic;
SIGNAL \u_display|seg[5]~5_combout\ : std_logic;
SIGNAL \u_display|WideOr0~0_combout\ : std_logic;
SIGNAL \u_display|seg[6]~6_combout\ : std_logic;
SIGNAL data : std_logic_vector(31 DOWNTO 0);
SIGNAL cnt : std_logic_vector(16 DOWNTO 0);
SIGNAL \u_key|val\ : std_logic_vector(3 DOWNTO 0);
SIGNAL \u_display|sel\ : std_logic_vector(2 DOWNTO 0);
SIGNAL \u_key|ALT_INV_Decoder0~2_combout\ : std_logic;
SIGNAL \u_key|ALT_INV_Decoder0~1_combout\ : std_logic;
SIGNAL \u_key|ALT_INV_Decoder0~0_combout\ : std_logic;
SIGNAL \ALT_INV_clk~inputclkctrl_outclk\ : std_logic;

BEGIN

ww_clk <= clk;
ww_rst <= rst;
ww_key_row <= key_row;
ww_ra <= ra;
ww_wr <= wr;
ww_rd <= rd;
ww_m <= m;
ww_key_sel <= key_sel;
key_col <= ww_key_col;
seg <= ww_seg;
sel <= ww_sel;
ww_devoe <= devoe;
ww_devclrn <= devclrn;
ww_devpor <= devpor;

\clk~inputclkctrl_INCLK_bus\ <= (vcc & vcc & vcc & \clk~input_o\);

\rst~inputclkctrl_INCLK_bus\ <= (vcc & vcc & vcc & \rst~input_o\);
\u_key|ALT_INV_Decoder0~2_combout\ <= NOT \u_key|Decoder0~2_combout\;
\u_key|ALT_INV_Decoder0~1_combout\ <= NOT \u_key|Decoder0~1_combout\;
\u_key|ALT_INV_Decoder0~0_combout\ <= NOT \u_key|Decoder0~0_combout\;
\ALT_INV_clk~inputclkctrl_outclk\ <= NOT \clk~inputclkctrl_outclk\;

-- Location: IOOBUF_X1_Y0_N23
\key_col[0]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_key|ALT_INV_Decoder0~0_combout\,
	devoe => ww_devoe,
	o => \key_col[0]~output_o\);

-- Location: IOOBUF_X1_Y0_N9
\key_col[1]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_key|ALT_INV_Decoder0~1_combout\,
	devoe => ww_devoe,
	o => \key_col[1]~output_o\);

-- Location: IOOBUF_X27_Y0_N16
\key_col[2]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_key|ALT_INV_Decoder0~2_combout\,
	devoe => ww_devoe,
	o => \key_col[2]~output_o\);

-- Location: IOOBUF_X34_Y0_N9
\key_col[3]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_key|Decoder0~3_combout\,
	devoe => ww_devoe,
	o => \key_col[3]~output_o\);

-- Location: IOOBUF_X43_Y43_N30
\seg[0]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|seg[0]~0_combout\,
	devoe => ww_devoe,
	o => \seg[0]~output_o\);

-- Location: IOOBUF_X50_Y43_N23
\seg[1]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|seg[1]~1_combout\,
	devoe => ww_devoe,
	o => \seg[1]~output_o\);

-- Location: IOOBUF_X54_Y43_N16
\seg[2]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|seg[2]~2_combout\,
	devoe => ww_devoe,
	o => \seg[2]~output_o\);

-- Location: IOOBUF_X48_Y43_N16
\seg[3]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|seg[3]~3_combout\,
	devoe => ww_devoe,
	o => \seg[3]~output_o\);

-- Location: IOOBUF_X41_Y43_N9
\seg[4]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|seg[4]~4_combout\,
	devoe => ww_devoe,
	o => \seg[4]~output_o\);

-- Location: IOOBUF_X29_Y43_N23
\seg[5]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|seg[5]~5_combout\,
	devoe => ww_devoe,
	o => \seg[5]~output_o\);

-- Location: IOOBUF_X11_Y43_N16
\seg[6]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|seg[6]~6_combout\,
	devoe => ww_devoe,
	o => \seg[6]~output_o\);

-- Location: IOOBUF_X67_Y35_N2
\seg[7]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => GND,
	devoe => ww_devoe,
	o => \seg[7]~output_o\);

-- Location: IOOBUF_X56_Y43_N30
\sel[0]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|sel\(0),
	devoe => ww_devoe,
	o => \sel[0]~output_o\);

-- Location: IOOBUF_X65_Y43_N16
\sel[1]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|sel\(1),
	devoe => ww_devoe,
	o => \sel[1]~output_o\);

-- Location: IOOBUF_X5_Y43_N16
\sel[2]~output\ : cycloneiii_io_obuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	open_drain_output => "false")
-- pragma translate_on
PORT MAP (
	i => \u_display|sel\(2),
	devoe => ww_devoe,
	o => \sel[2]~output_o\);

-- Location: IOIBUF_X34_Y43_N15
\clk~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_clk,
	o => \clk~input_o\);

-- Location: CLKCTRL_G14
\clk~inputclkctrl\ : cycloneiii_clkctrl
-- pragma translate_off
GENERIC MAP (
	clock_type => "global clock",
	ena_register_mode => "none")
-- pragma translate_on
PORT MAP (
	inclk => \clk~inputclkctrl_INCLK_bus\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	outclk => \clk~inputclkctrl_outclk\);

-- Location: LCCOMB_X26_Y4_N30
\u_display|sel[0]~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|sel[0]~2_combout\ = !\u_display|sel\(0)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000111100001111",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_display|sel\(0),
	combout => \u_display|sel[0]~2_combout\);

-- Location: IOIBUF_X67_Y22_N15
\rst~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_rst,
	o => \rst~input_o\);

-- Location: CLKCTRL_G9
\rst~inputclkctrl\ : cycloneiii_clkctrl
-- pragma translate_off
GENERIC MAP (
	clock_type => "global clock",
	ena_register_mode => "none")
-- pragma translate_on
PORT MAP (
	inclk => \rst~inputclkctrl_INCLK_bus\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	outclk => \rst~inputclkctrl_outclk\);

-- Location: FF_X26_Y4_N31
\u_display|sel[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_display|sel[0]~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_display|sel\(0));

-- Location: LCCOMB_X26_Y4_N24
\u_display|sel[1]~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|sel[1]~0_combout\ = \u_display|sel\(0) $ (\u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|sel\(0),
	datac => \u_display|sel\(1),
	combout => \u_display|sel[1]~0_combout\);

-- Location: FF_X26_Y4_N25
\u_display|sel[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_display|sel[1]~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_display|sel\(1));

-- Location: LCCOMB_X26_Y4_N12
\u_key|Decoder0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|Decoder0~0_combout\ = (\u_display|sel\(0) & \u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(1),
	combout => \u_key|Decoder0~0_combout\);

-- Location: LCCOMB_X26_Y4_N26
\u_key|Decoder0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|Decoder0~1_combout\ = (!\u_display|sel\(0) & \u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(1),
	combout => \u_key|Decoder0~1_combout\);

-- Location: LCCOMB_X27_Y4_N28
\u_key|Decoder0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|Decoder0~2_combout\ = (\u_display|sel\(0) & !\u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(1),
	combout => \u_key|Decoder0~2_combout\);

-- Location: LCCOMB_X30_Y3_N24
\u_key|Decoder0~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|Decoder0~3_combout\ = (\u_display|sel\(0)) # (\u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111111110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(1),
	combout => \u_key|Decoder0~3_combout\);

-- Location: IOIBUF_X18_Y0_N22
\wr~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_wr,
	o => \wr~input_o\);

-- Location: IOIBUF_X29_Y0_N15
\key_row[1]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(1),
	o => \key_row[1]~input_o\);

-- Location: IOIBUF_X29_Y0_N8
\key_row[3]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(3),
	o => \key_row[3]~input_o\);

-- Location: LCCOMB_X30_Y3_N22
\u_key|WideOr3~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr3~4_combout\ = (\key_row[1]~input_o\ & \key_row[3]~input_o\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \key_row[1]~input_o\,
	datad => \key_row[3]~input_o\,
	combout => \u_key|WideOr3~4_combout\);

-- Location: IOIBUF_X32_Y0_N1
\key_row[0]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(0),
	o => \key_row[0]~input_o\);

-- Location: IOIBUF_X27_Y0_N1
\key_row[2]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_row(2),
	o => \key_row[2]~input_o\);

-- Location: LCCOMB_X30_Y3_N2
\u_key|WideOr3~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr3~0_combout\ = (\key_row[0]~input_o\ & \key_row[2]~input_o\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100000011000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \key_row[0]~input_o\,
	datac => \key_row[2]~input_o\,
	combout => \u_key|WideOr3~0_combout\);

-- Location: LCCOMB_X30_Y3_N14
\u_key|WideOr2~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr2~1_combout\ = (\key_row[3]~input_o\ & (!\key_row[1]~input_o\ & ((\u_display|sel\(0)) # (!\u_display|sel\(1))))) # (!\key_row[3]~input_o\ & (((\key_row[1]~input_o\ & \u_display|sel\(1)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101100000001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[3]~input_o\,
	datab => \u_display|sel\(0),
	datac => \key_row[1]~input_o\,
	datad => \u_display|sel\(1),
	combout => \u_key|WideOr2~1_combout\);

-- Location: LCCOMB_X30_Y3_N20
\u_key|WideOr2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr2~0_combout\ = (!\u_display|sel\(1) & ((\key_row[2]~input_o\ & (!\key_row[0]~input_o\)) # (!\key_row[2]~input_o\ & (\key_row[0]~input_o\ & !\u_display|sel\(0)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000000100110",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[2]~input_o\,
	datab => \key_row[0]~input_o\,
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(1),
	combout => \u_key|WideOr2~0_combout\);

-- Location: LCCOMB_X30_Y3_N0
\u_key|WideOr2~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr2~2_combout\ = (\u_key|WideOr3~4_combout\ & ((\u_key|WideOr2~0_combout\) # ((\u_key|WideOr3~0_combout\ & \u_key|WideOr2~1_combout\)))) # (!\u_key|WideOr3~4_combout\ & (\u_key|WideOr3~0_combout\ & (\u_key|WideOr2~1_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110101011000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_key|WideOr3~4_combout\,
	datab => \u_key|WideOr3~0_combout\,
	datac => \u_key|WideOr2~1_combout\,
	datad => \u_key|WideOr2~0_combout\,
	combout => \u_key|WideOr2~2_combout\);

-- Location: FF_X30_Y3_N1
\u_key|val[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_key|WideOr2~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_key|val\(1));

-- Location: IOIBUF_X0_Y5_N8
\rd~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_rd,
	o => \rd~input_o\);

-- Location: LCCOMB_X28_Y3_N8
\r[2][5]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][5]~feeder_combout\ = \u_key|val\(1)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(1),
	combout => \r[2][5]~feeder_combout\);

-- Location: IOIBUF_X25_Y0_N15
\ra[1]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_ra(1),
	o => \ra[1]~input_o\);

-- Location: IOIBUF_X0_Y4_N1
\key_sel[1]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_sel(1),
	o => \key_sel[1]~input_o\);

-- Location: IOIBUF_X34_Y0_N22
\ra[0]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_ra(0),
	o => \ra[0]~input_o\);

-- Location: IOIBUF_X0_Y4_N15
\key_sel[0]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_key_sel(0),
	o => \key_sel[0]~input_o\);

-- Location: LCCOMB_X30_Y3_N4
\u_key|WideOr4~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr4~0_combout\ = (\key_row[2]~input_o\ & ((\key_row[0]~input_o\ & (\key_row[1]~input_o\ $ (\key_row[3]~input_o\))) # (!\key_row[0]~input_o\ & (\key_row[1]~input_o\ & \key_row[3]~input_o\)))) # (!\key_row[2]~input_o\ & (\key_row[0]~input_o\ & 
-- (\key_row[1]~input_o\ & \key_row[3]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110100010000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[2]~input_o\,
	datab => \key_row[0]~input_o\,
	datac => \key_row[1]~input_o\,
	datad => \key_row[3]~input_o\,
	combout => \u_key|WideOr4~0_combout\);

-- Location: LCCOMB_X26_Y3_N12
\u_key|is_pressed~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|is_pressed~feeder_combout\ = \u_key|WideOr4~0_combout\

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datad => \u_key|WideOr4~0_combout\,
	combout => \u_key|is_pressed~feeder_combout\);

-- Location: FF_X26_Y3_N13
\u_key|is_pressed\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_key|is_pressed~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_key|is_pressed~q\);

-- Location: LCCOMB_X26_Y3_N6
\always0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \always0~0_combout\ = (!\key_sel[0]~input_o\ & \u_key|is_pressed~q\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \key_sel[0]~input_o\,
	datad => \u_key|is_pressed~q\,
	combout => \always0~0_combout\);

-- Location: LCCOMB_X26_Y3_N28
\r[0][4]~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[0][4]~0_combout\ = (!\wr~input_o\ & (!\ra[0]~input_o\ & (\rd~input_o\ & \always0~0_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0001000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \ra[0]~input_o\,
	datac => \rd~input_o\,
	datad => \always0~0_combout\,
	combout => \r[0][4]~0_combout\);

-- Location: LCCOMB_X28_Y3_N24
\r[2][4]~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][4]~1_combout\ = (\ra[1]~input_o\ & (\key_sel[1]~input_o\ & \r[0][4]~0_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \ra[1]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \r[0][4]~0_combout\,
	combout => \r[2][4]~1_combout\);

-- Location: FF_X28_Y3_N9
\r[2][5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][5]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][4]~1_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][5]~q\);

-- Location: LCCOMB_X26_Y3_N18
\r[3][4]~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[3][4]~2_combout\ = (!\wr~input_o\ & (\ra[0]~input_o\ & (\rd~input_o\ & \always0~0_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0100000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \ra[0]~input_o\,
	datac => \rd~input_o\,
	datad => \always0~0_combout\,
	combout => \r[3][4]~2_combout\);

-- Location: LCCOMB_X25_Y4_N18
\r[3][4]~5\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[3][4]~5_combout\ = (\ra[1]~input_o\ & (\key_sel[1]~input_o\ & \r[3][4]~2_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \ra[1]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \r[3][4]~2_combout\,
	combout => \r[3][4]~5_combout\);

-- Location: FF_X25_Y4_N25
\r[3][5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(1),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][4]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][5]~q\);

-- Location: LCCOMB_X25_Y3_N18
\r[0][4]~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[0][4]~4_combout\ = (\key_sel[1]~input_o\ & (!\ra[1]~input_o\ & \r[0][4]~0_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000101000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_sel[1]~input_o\,
	datac => \ra[1]~input_o\,
	datad => \r[0][4]~0_combout\,
	combout => \r[0][4]~4_combout\);

-- Location: FF_X25_Y3_N3
\r[0][5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(1),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][4]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][5]~q\);

-- Location: LCCOMB_X25_Y3_N28
\r[1][5]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][5]~feeder_combout\ = \u_key|val\(1)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(1),
	combout => \r[1][5]~feeder_combout\);

-- Location: LCCOMB_X25_Y3_N24
\r[1][4]~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][4]~3_combout\ = (\key_sel[1]~input_o\ & (!\ra[1]~input_o\ & \r[3][4]~2_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000101000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_sel[1]~input_o\,
	datac => \ra[1]~input_o\,
	datad => \r[3][4]~2_combout\,
	combout => \r[1][4]~3_combout\);

-- Location: FF_X25_Y3_N29
\r[1][5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][5]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][4]~3_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][5]~q\);

-- Location: LCCOMB_X25_Y3_N2
\Selector2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector2~0_combout\ = (\ra[0]~input_o\ & ((\ra[1]~input_o\) # ((\r[1][5]~q\)))) # (!\ra[0]~input_o\ & (!\ra[1]~input_o\ & (\r[0][5]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[0]~input_o\,
	datab => \ra[1]~input_o\,
	datac => \r[0][5]~q\,
	datad => \r[1][5]~q\,
	combout => \Selector2~0_combout\);

-- Location: LCCOMB_X25_Y4_N24
\Selector2~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector2~1_combout\ = (\ra[1]~input_o\ & ((\Selector2~0_combout\ & ((\r[3][5]~q\))) # (!\Selector2~0_combout\ & (\r[2][5]~q\)))) # (!\ra[1]~input_o\ & (((\Selector2~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[2][5]~q\,
	datab => \ra[1]~input_o\,
	datac => \r[3][5]~q\,
	datad => \Selector2~0_combout\,
	combout => \Selector2~1_combout\);

-- Location: LCCOMB_X26_Y4_N10
\Selector2~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector2~2_combout\ = (\wr~input_o\ & ((\rd~input_o\ & (\u_key|val\(1))) # (!\rd~input_o\ & ((\Selector2~1_combout\))))) # (!\wr~input_o\ & (\u_key|val\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100111011000100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \u_key|val\(1),
	datac => \rd~input_o\,
	datad => \Selector2~1_combout\,
	combout => \Selector2~2_combout\);

-- Location: LCCOMB_X26_Y4_N28
\data[5]~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \data[5]~0_combout\ = (\rd~input_o\ & (\key_sel[1]~input_o\ & (!\wr~input_o\ & \always0~0_combout\))) # (!\rd~input_o\ & (((\wr~input_o\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101100001010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \rd~input_o\,
	datab => \key_sel[1]~input_o\,
	datac => \wr~input_o\,
	datad => \always0~0_combout\,
	combout => \data[5]~0_combout\);

-- Location: FF_X26_Y4_N11
\data[5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector2~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[5]~0_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(5));

-- Location: LCCOMB_X28_Y3_N14
\r[1][1]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][1]~feeder_combout\ = \u_key|val\(1)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(1),
	combout => \r[1][1]~feeder_combout\);

-- Location: LCCOMB_X28_Y3_N18
\r[1][0]~6\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][0]~6_combout\ = (!\ra[1]~input_o\ & (!\key_sel[1]~input_o\ & \r[3][4]~2_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000001100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \ra[1]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \r[3][4]~2_combout\,
	combout => \r[1][0]~6_combout\);

-- Location: FF_X28_Y3_N15
\r[1][1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][1]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][0]~6_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][1]~q\);

-- Location: LCCOMB_X26_Y3_N4
\r[3][0]~9\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[3][0]~9_combout\ = (\ra[1]~input_o\ & (!\key_sel[1]~input_o\ & \r[3][4]~2_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000101000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[1]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \r[3][4]~2_combout\,
	combout => \r[3][0]~9_combout\);

-- Location: FF_X26_Y3_N11
\r[3][1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(1),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][0]~9_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][1]~q\);

-- Location: LCCOMB_X27_Y3_N2
\r[0][0]~8\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[0][0]~8_combout\ = (!\ra[1]~input_o\ & (!\key_sel[1]~input_o\ & \r[0][4]~0_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000010100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[1]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \r[0][4]~0_combout\,
	combout => \r[0][0]~8_combout\);

-- Location: FF_X27_Y3_N27
\r[0][1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(1),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][0]~8_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][1]~q\);

-- Location: LCCOMB_X27_Y3_N24
\r[2][1]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][1]~feeder_combout\ = \u_key|val\(1)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(1),
	combout => \r[2][1]~feeder_combout\);

-- Location: LCCOMB_X27_Y3_N20
\r[2][0]~7\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][0]~7_combout\ = (\ra[1]~input_o\ & (!\key_sel[1]~input_o\ & \r[0][4]~0_combout\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000101000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[1]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \r[0][4]~0_combout\,
	combout => \r[2][0]~7_combout\);

-- Location: FF_X27_Y3_N25
\r[2][1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][1]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][0]~7_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][1]~q\);

-- Location: LCCOMB_X27_Y3_N26
\Selector6~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector6~0_combout\ = (\ra[1]~input_o\ & ((\ra[0]~input_o\) # ((\r[2][1]~q\)))) # (!\ra[1]~input_o\ & (!\ra[0]~input_o\ & (\r[0][1]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[1]~input_o\,
	datab => \ra[0]~input_o\,
	datac => \r[0][1]~q\,
	datad => \r[2][1]~q\,
	combout => \Selector6~0_combout\);

-- Location: LCCOMB_X26_Y3_N10
\Selector6~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector6~1_combout\ = (\ra[0]~input_o\ & ((\Selector6~0_combout\ & ((\r[3][1]~q\))) # (!\Selector6~0_combout\ & (\r[1][1]~q\)))) # (!\ra[0]~input_o\ & (((\Selector6~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[1][1]~q\,
	datab => \ra[0]~input_o\,
	datac => \r[3][1]~q\,
	datad => \Selector6~0_combout\,
	combout => \Selector6~1_combout\);

-- Location: LCCOMB_X25_Y4_N22
\Selector6~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector6~2_combout\ = (\wr~input_o\ & ((\rd~input_o\ & (\u_key|val\(1))) # (!\rd~input_o\ & ((\Selector6~1_combout\))))) # (!\wr~input_o\ & (((\u_key|val\(1)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001011010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \rd~input_o\,
	datac => \u_key|val\(1),
	datad => \Selector6~1_combout\,
	combout => \Selector6~2_combout\);

-- Location: LCCOMB_X25_Y4_N26
\data[3]~5\ : cycloneiii_lcell_comb
-- Equation(s):
-- \data[3]~5_combout\ = (\wr~input_o\ & (!\rd~input_o\)) # (!\wr~input_o\ & (\rd~input_o\ & (!\key_sel[1]~input_o\ & \always0~0_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0010011000100010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \rd~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \always0~0_combout\,
	combout => \data[3]~5_combout\);

-- Location: FF_X25_Y4_N23
\data[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector6~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[3]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(1));

-- Location: LCCOMB_X26_Y4_N22
\u_display|sel[2]~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|sel[2]~1_combout\ = \u_display|sel\(2) $ (((\u_display|sel\(0) & \u_display|sel\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|sel\(0),
	datac => \u_display|sel\(2),
	datad => \u_display|sel\(1),
	combout => \u_display|sel[2]~1_combout\);

-- Location: FF_X26_Y4_N23
\u_display|sel[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_display|sel[2]~1_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_display|sel\(2));

-- Location: IOIBUF_X34_Y0_N1
\m[0]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_m(0),
	o => \m[0]~input_o\);

-- Location: IOIBUF_X22_Y0_N1
\m[1]~input\ : cycloneiii_io_ibuf
-- pragma translate_off
GENERIC MAP (
	bus_hold => "false",
	simulate_z_as => "z")
-- pragma translate_on
PORT MAP (
	i => ww_m(1),
	o => \m[1]~input_o\);

-- Location: LCCOMB_X30_Y3_N28
\u_key|WideOr3~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr3~1_combout\ = (\key_row[1]~input_o\ & ((\key_row[2]~input_o\ & (!\key_row[0]~input_o\)) # (!\key_row[2]~input_o\ & (\key_row[0]~input_o\ & !\u_display|sel\(1))))) # (!\key_row[1]~input_o\ & (((\u_display|sel\(1)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0010111101100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[2]~input_o\,
	datab => \key_row[0]~input_o\,
	datac => \key_row[1]~input_o\,
	datad => \u_display|sel\(1),
	combout => \u_key|WideOr3~1_combout\);

-- Location: LCCOMB_X30_Y3_N10
\u_key|WideOr3~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr3~2_combout\ = (\key_row[3]~input_o\ & ((\u_key|WideOr3~1_combout\) # (!\u_display|sel\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010101000001010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[3]~input_o\,
	datac => \u_display|sel\(0),
	datad => \u_key|WideOr3~1_combout\,
	combout => \u_key|WideOr3~2_combout\);

-- Location: LCCOMB_X30_Y3_N6
\u_key|WideOr3~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr3~3_combout\ = (\key_row[1]~input_o\ & ((\u_display|sel\(0) & ((\u_key|WideOr3~2_combout\))) # (!\u_display|sel\(0) & (\u_key|WideOr3~0_combout\ & !\u_key|WideOr3~2_combout\)))) # (!\key_row[1]~input_o\ & (\u_key|WideOr3~0_combout\ & 
-- ((\u_key|WideOr3~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110010000001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[1]~input_o\,
	datab => \u_key|WideOr3~0_combout\,
	datac => \u_display|sel\(0),
	datad => \u_key|WideOr3~2_combout\,
	combout => \u_key|WideOr3~3_combout\);

-- Location: FF_X30_Y3_N7
\u_key|val[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_key|WideOr3~3_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_key|val\(0));

-- Location: LCCOMB_X28_Y4_N12
\Add1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~0_combout\ = data(16) $ (VCC)
-- \Add1~1\ = CARRY(data(16))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011001111001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => data(16),
	datad => VCC,
	combout => \Add1~0_combout\,
	cout => \Add1~1\);

-- Location: LCCOMB_X29_Y4_N8
\Add1~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~2_combout\ = (\m[1]~input_o\ & (((\Add1~0_combout\)))) # (!\m[1]~input_o\ & (\m[0]~input_o\ & (\u_key|val\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111100000001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \u_key|val\(0),
	datac => \m[1]~input_o\,
	datad => \Add1~0_combout\,
	combout => \Add1~2_combout\);

-- Location: LCCOMB_X29_Y4_N16
\Add2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~0_combout\ = cnt(0) $ (VCC)
-- \Add2~1\ = CARRY(cnt(0))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011001111001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => cnt(0),
	datad => VCC,
	combout => \Add2~0_combout\,
	cout => \Add2~1\);

-- Location: FF_X29_Y4_N17
\cnt[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(0));

-- Location: LCCOMB_X29_Y4_N18
\Add2~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~2_combout\ = (cnt(1) & (!\Add2~1\)) # (!cnt(1) & ((\Add2~1\) # (GND)))
-- \Add2~3\ = CARRY((!\Add2~1\) # (!cnt(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(1),
	datad => VCC,
	cin => \Add2~1\,
	combout => \Add2~2_combout\,
	cout => \Add2~3\);

-- Location: FF_X29_Y4_N19
\cnt[1]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(1));

-- Location: LCCOMB_X29_Y4_N20
\Add2~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~4_combout\ = (cnt(2) & (\Add2~3\ $ (GND))) # (!cnt(2) & (!\Add2~3\ & VCC))
-- \Add2~5\ = CARRY((cnt(2) & !\Add2~3\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(2),
	datad => VCC,
	cin => \Add2~3\,
	combout => \Add2~4_combout\,
	cout => \Add2~5\);

-- Location: FF_X29_Y4_N21
\cnt[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~4_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(2));

-- Location: LCCOMB_X29_Y4_N22
\Add2~6\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~6_combout\ = (cnt(3) & (!\Add2~5\)) # (!cnt(3) & ((\Add2~5\) # (GND)))
-- \Add2~7\ = CARRY((!\Add2~5\) # (!cnt(3)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => cnt(3),
	datad => VCC,
	cin => \Add2~5\,
	combout => \Add2~6_combout\,
	cout => \Add2~7\);

-- Location: FF_X29_Y4_N23
\cnt[3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~6_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(3));

-- Location: LCCOMB_X29_Y4_N24
\Add2~8\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~8_combout\ = (cnt(4) & (\Add2~7\ $ (GND))) # (!cnt(4) & (!\Add2~7\ & VCC))
-- \Add2~9\ = CARRY((cnt(4) & !\Add2~7\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(4),
	datad => VCC,
	cin => \Add2~7\,
	combout => \Add2~8_combout\,
	cout => \Add2~9\);

-- Location: FF_X29_Y4_N25
\cnt[4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~8_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(4));

-- Location: LCCOMB_X29_Y4_N26
\Add2~10\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~10_combout\ = (cnt(5) & (!\Add2~9\)) # (!cnt(5) & ((\Add2~9\) # (GND)))
-- \Add2~11\ = CARRY((!\Add2~9\) # (!cnt(5)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(5),
	datad => VCC,
	cin => \Add2~9\,
	combout => \Add2~10_combout\,
	cout => \Add2~11\);

-- Location: LCCOMB_X30_Y4_N2
\Mux11~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Mux11~0_combout\ = (\Add2~10_combout\ & ((\Equal0~4_combout\) # (!cnt(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \Equal0~4_combout\,
	datac => \Add2~10_combout\,
	datad => cnt(1),
	combout => \Mux11~0_combout\);

-- Location: FF_X30_Y4_N3
\cnt[5]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Mux11~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(5));

-- Location: LCCOMB_X29_Y4_N10
\Equal0~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Equal0~3_combout\ = (((cnt(5)) # (!cnt(4))) # (!cnt(2))) # (!cnt(3))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111101111111",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => cnt(3),
	datab => cnt(2),
	datac => cnt(4),
	datad => cnt(5),
	combout => \Equal0~3_combout\);

-- Location: LCCOMB_X29_Y4_N28
\Add2~12\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~12_combout\ = (cnt(6) & (\Add2~11\ $ (GND))) # (!cnt(6) & (!\Add2~11\ & VCC))
-- \Add2~13\ = CARRY((cnt(6) & !\Add2~11\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(6),
	datad => VCC,
	cin => \Add2~11\,
	combout => \Add2~12_combout\,
	cout => \Add2~13\);

-- Location: FF_X29_Y4_N29
\cnt[6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~12_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(6));

-- Location: LCCOMB_X29_Y4_N30
\Add2~14\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~14_combout\ = (cnt(7) & (!\Add2~13\)) # (!cnt(7) & ((\Add2~13\) # (GND)))
-- \Add2~15\ = CARRY((!\Add2~13\) # (!cnt(7)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(7),
	datad => VCC,
	cin => \Add2~13\,
	combout => \Add2~14_combout\,
	cout => \Add2~15\);

-- Location: LCCOMB_X30_Y4_N0
\Mux9~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Mux9~0_combout\ = (\Add2~14_combout\ & ((\Equal0~4_combout\) # (!cnt(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => cnt(1),
	datac => \Equal0~4_combout\,
	datad => \Add2~14_combout\,
	combout => \Mux9~0_combout\);

-- Location: FF_X30_Y4_N1
\cnt[7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Mux9~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(7));

-- Location: LCCOMB_X29_Y3_N0
\Add2~16\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~16_combout\ = (cnt(8) & (\Add2~15\ $ (GND))) # (!cnt(8) & (!\Add2~15\ & VCC))
-- \Add2~17\ = CARRY((cnt(8) & !\Add2~15\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(8),
	datad => VCC,
	cin => \Add2~15\,
	combout => \Add2~16_combout\,
	cout => \Add2~17\);

-- Location: FF_X29_Y3_N1
\cnt[8]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~16_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(8));

-- Location: LCCOMB_X29_Y3_N2
\Add2~18\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~18_combout\ = (cnt(9) & (!\Add2~17\)) # (!cnt(9) & ((\Add2~17\) # (GND)))
-- \Add2~19\ = CARRY((!\Add2~17\) # (!cnt(9)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => cnt(9),
	datad => VCC,
	cin => \Add2~17\,
	combout => \Add2~18_combout\,
	cout => \Add2~19\);

-- Location: LCCOMB_X29_Y3_N26
\Mux7~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Mux7~0_combout\ = (\Add2~18_combout\ & ((\Equal0~4_combout\) # (!cnt(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => cnt(1),
	datac => \Equal0~4_combout\,
	datad => \Add2~18_combout\,
	combout => \Mux7~0_combout\);

-- Location: FF_X29_Y3_N27
\cnt[9]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Mux7~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(9));

-- Location: LCCOMB_X29_Y4_N0
\Equal0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Equal0~2_combout\ = (cnt(6)) # (((cnt(8)) # (!cnt(9))) # (!cnt(7)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111110111111",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => cnt(6),
	datab => cnt(7),
	datac => cnt(9),
	datad => cnt(8),
	combout => \Equal0~2_combout\);

-- Location: LCCOMB_X29_Y3_N4
\Add2~20\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~20_combout\ = (cnt(10) & (\Add2~19\ $ (GND))) # (!cnt(10) & (!\Add2~19\ & VCC))
-- \Add2~21\ = CARRY((cnt(10) & !\Add2~19\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100001100001100",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(10),
	datad => VCC,
	cin => \Add2~19\,
	combout => \Add2~20_combout\,
	cout => \Add2~21\);

-- Location: LCCOMB_X29_Y3_N18
\Mux6~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Mux6~0_combout\ = (\Add2~20_combout\ & ((\Equal0~4_combout\) # (!cnt(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => cnt(1),
	datac => \Add2~20_combout\,
	datad => \Equal0~4_combout\,
	combout => \Mux6~0_combout\);

-- Location: FF_X29_Y3_N19
\cnt[10]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Mux6~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(10));

-- Location: LCCOMB_X29_Y3_N6
\Add2~22\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~22_combout\ = (cnt(11) & (!\Add2~21\)) # (!cnt(11) & ((\Add2~21\) # (GND)))
-- \Add2~23\ = CARRY((!\Add2~21\) # (!cnt(11)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101101001011111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => cnt(11),
	datad => VCC,
	cin => \Add2~21\,
	combout => \Add2~22_combout\,
	cout => \Add2~23\);

-- Location: FF_X29_Y3_N7
\cnt[11]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~22_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(11));

-- Location: LCCOMB_X29_Y3_N8
\Add2~24\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~24_combout\ = (cnt(12) & (\Add2~23\ $ (GND))) # (!cnt(12) & (!\Add2~23\ & VCC))
-- \Add2~25\ = CARRY((cnt(12) & !\Add2~23\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010100001010",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => cnt(12),
	datad => VCC,
	cin => \Add2~23\,
	combout => \Add2~24_combout\,
	cout => \Add2~25\);

-- Location: FF_X29_Y3_N9
\cnt[12]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~24_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(12));

-- Location: LCCOMB_X29_Y3_N10
\Add2~26\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~26_combout\ = (cnt(13) & (!\Add2~25\)) # (!cnt(13) & ((\Add2~25\) # (GND)))
-- \Add2~27\ = CARRY((!\Add2~25\) # (!cnt(13)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(13),
	datad => VCC,
	cin => \Add2~25\,
	combout => \Add2~26_combout\,
	cout => \Add2~27\);

-- Location: FF_X29_Y3_N11
\cnt[13]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~26_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(13));

-- Location: LCCOMB_X29_Y3_N12
\Add2~28\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~28_combout\ = (cnt(14) & (\Add2~27\ $ (GND))) # (!cnt(14) & (!\Add2~27\ & VCC))
-- \Add2~29\ = CARRY((cnt(14) & !\Add2~27\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010100001010",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => cnt(14),
	datad => VCC,
	cin => \Add2~27\,
	combout => \Add2~28_combout\,
	cout => \Add2~29\);

-- Location: FF_X29_Y3_N13
\cnt[14]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add2~28_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(14));

-- Location: LCCOMB_X29_Y3_N14
\Add2~30\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~30_combout\ = (cnt(15) & (!\Add2~29\)) # (!cnt(15) & ((\Add2~29\) # (GND)))
-- \Add2~31\ = CARRY((!\Add2~29\) # (!cnt(15)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0011110000111111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	datab => cnt(15),
	datad => VCC,
	cin => \Add2~29\,
	combout => \Add2~30_combout\,
	cout => \Add2~31\);

-- Location: LCCOMB_X29_Y3_N24
\Mux1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Mux1~0_combout\ = (\Add2~30_combout\ & ((\Equal0~4_combout\) # (!cnt(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => cnt(1),
	datac => \Add2~30_combout\,
	datad => \Equal0~4_combout\,
	combout => \Mux1~0_combout\);

-- Location: FF_X29_Y3_N25
\cnt[15]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Mux1~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(15));

-- Location: LCCOMB_X29_Y3_N16
\Add2~32\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add2~32_combout\ = cnt(16) $ (!\Add2~31\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010010110100101",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => cnt(16),
	cin => \Add2~31\,
	combout => \Add2~32_combout\);

-- Location: LCCOMB_X29_Y3_N22
\Mux0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Mux0~0_combout\ = (\Add2~32_combout\ & ((\Equal0~4_combout\) # (!cnt(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => cnt(1),
	datac => \Equal0~4_combout\,
	datad => \Add2~32_combout\,
	combout => \Mux0~0_combout\);

-- Location: FF_X29_Y3_N23
\cnt[16]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Mux0~0_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \m[1]~input_o\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => cnt(16));

-- Location: LCCOMB_X29_Y4_N14
\Equal0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Equal0~0_combout\ = (((cnt(14)) # (!cnt(15))) # (!cnt(0))) # (!cnt(16))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111101111111",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => cnt(16),
	datab => cnt(0),
	datac => cnt(15),
	datad => cnt(14),
	combout => \Equal0~0_combout\);

-- Location: LCCOMB_X29_Y3_N28
\Equal0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Equal0~1_combout\ = (cnt(11)) # (((cnt(12)) # (cnt(13))) # (!cnt(10)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111111111011",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => cnt(11),
	datab => cnt(10),
	datac => cnt(12),
	datad => cnt(13),
	combout => \Equal0~1_combout\);

-- Location: LCCOMB_X29_Y4_N4
\Equal0~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Equal0~4_combout\ = (\Equal0~3_combout\) # ((\Equal0~2_combout\) # ((\Equal0~0_combout\) # (\Equal0~1_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111111111110",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \Equal0~3_combout\,
	datab => \Equal0~2_combout\,
	datac => \Equal0~0_combout\,
	datad => \Equal0~1_combout\,
	combout => \Equal0~4_combout\);

-- Location: LCCOMB_X26_Y3_N0
\data[19]~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \data[19]~1_combout\ = (\m[0]~input_o\ & (((\key_sel[1]~input_o\) # (!\u_key|is_pressed~q\)) # (!\key_sel[0]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100010011001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_sel[0]~input_o\,
	datab => \m[0]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \u_key|is_pressed~q\,
	combout => \data[19]~1_combout\);

-- Location: LCCOMB_X29_Y4_N2
\data[19]~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \data[19]~2_combout\ = (\m[1]~input_o\ & (cnt(1) & (!\Equal0~4_combout\))) # (!\m[1]~input_o\ & (((!\data[19]~1_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000100001011101",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[1]~input_o\,
	datab => cnt(1),
	datac => \Equal0~4_combout\,
	datad => \data[19]~1_combout\,
	combout => \data[19]~2_combout\);

-- Location: FF_X29_Y4_N9
\data[16]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add1~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[19]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(16));

-- Location: LCCOMB_X28_Y4_N14
\Add1~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~3_combout\ = (data(17) & ((\m[0]~input_o\ & (\Add1~1\ & VCC)) # (!\m[0]~input_o\ & (!\Add1~1\)))) # (!data(17) & ((\m[0]~input_o\ & (!\Add1~1\)) # (!\m[0]~input_o\ & ((\Add1~1\) # (GND)))))
-- \Add1~4\ = CARRY((data(17) & (!\m[0]~input_o\ & !\Add1~1\)) # (!data(17) & ((!\Add1~1\) # (!\m[0]~input_o\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1001011000010111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => data(17),
	datab => \m[0]~input_o\,
	datad => VCC,
	cin => \Add1~1\,
	combout => \Add1~3_combout\,
	cout => \Add1~4\);

-- Location: LCCOMB_X29_Y4_N6
\Add1~12\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~12_combout\ = (\m[1]~input_o\ & (((\Add1~3_combout\)))) # (!\m[1]~input_o\ & (\m[0]~input_o\ & (\u_key|val\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111100000001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \u_key|val\(1),
	datac => \m[1]~input_o\,
	datad => \Add1~3_combout\,
	combout => \Add1~12_combout\);

-- Location: FF_X29_Y4_N7
\data[17]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add1~12_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[19]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(17));

-- Location: LCCOMB_X30_Y3_N30
\u_key|WideOr0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr0~1_combout\ = (\key_row[0]~input_o\ & (\key_row[1]~input_o\ & \u_display|sel\(1)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \key_row[0]~input_o\,
	datac => \key_row[1]~input_o\,
	datad => \u_display|sel\(1),
	combout => \u_key|WideOr0~1_combout\);

-- Location: LCCOMB_X30_Y3_N16
\u_key|WideOr0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr0~0_combout\ = (\key_row[0]~input_o\ & (\u_display|sel\(1) & ((\u_display|sel\(0)) # (!\key_row[1]~input_o\)))) # (!\key_row[0]~input_o\ & (\key_row[1]~input_o\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110011000100010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[1]~input_o\,
	datab => \key_row[0]~input_o\,
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(1),
	combout => \u_key|WideOr0~0_combout\);

-- Location: LCCOMB_X30_Y3_N12
\u_key|WideOr0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr0~2_combout\ = (\key_row[2]~input_o\ & (\u_key|WideOr0~0_combout\ & (\key_row[3]~input_o\ $ (\u_key|WideOr0~1_combout\)))) # (!\key_row[2]~input_o\ & (\key_row[3]~input_o\ & (\u_key|WideOr0~1_combout\ & !\u_key|WideOr0~0_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0100100000100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[3]~input_o\,
	datab => \key_row[2]~input_o\,
	datac => \u_key|WideOr0~1_combout\,
	datad => \u_key|WideOr0~0_combout\,
	combout => \u_key|WideOr0~2_combout\);

-- Location: FF_X30_Y3_N13
\u_key|val[3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_key|WideOr0~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_key|val\(3));

-- Location: LCCOMB_X30_Y3_N8
\u_key|WideOr1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr1~0_combout\ = (\key_row[2]~input_o\ & (!\key_row[0]~input_o\ & ((\u_display|sel\(1))))) # (!\key_row[2]~input_o\ & (\key_row[0]~input_o\ & (\u_display|sel\(0) & !\u_display|sel\(1))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0010001001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[2]~input_o\,
	datab => \key_row[0]~input_o\,
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(1),
	combout => \u_key|WideOr1~0_combout\);

-- Location: LCCOMB_X30_Y3_N18
\u_key|WideOr1~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr1~1_combout\ = (\key_row[3]~input_o\ & (\u_display|sel\(0) & (!\key_row[1]~input_o\))) # (!\key_row[3]~input_o\ & (\key_row[1]~input_o\ & ((\u_display|sel\(0)) # (\u_display|sel\(1)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0101100001001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_row[3]~input_o\,
	datab => \u_display|sel\(0),
	datac => \key_row[1]~input_o\,
	datad => \u_display|sel\(1),
	combout => \u_key|WideOr1~1_combout\);

-- Location: LCCOMB_X30_Y3_N26
\u_key|WideOr1~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_key|WideOr1~2_combout\ = (\u_key|WideOr3~4_combout\ & ((\u_key|WideOr1~0_combout\) # ((\u_key|WideOr3~0_combout\ & \u_key|WideOr1~1_combout\)))) # (!\u_key|WideOr3~4_combout\ & (\u_key|WideOr3~0_combout\ & ((\u_key|WideOr1~1_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110110010100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_key|WideOr3~4_combout\,
	datab => \u_key|WideOr3~0_combout\,
	datac => \u_key|WideOr1~0_combout\,
	datad => \u_key|WideOr1~1_combout\,
	combout => \u_key|WideOr1~2_combout\);

-- Location: FF_X30_Y3_N27
\u_key|val[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \u_key|WideOr1~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \u_key|val\(2));

-- Location: LCCOMB_X28_Y4_N16
\Add1~5\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~5_combout\ = ((\m[0]~input_o\ $ (data(18) $ (!\Add1~4\)))) # (GND)
-- \Add1~6\ = CARRY((\m[0]~input_o\ & ((data(18)) # (!\Add1~4\))) # (!\m[0]~input_o\ & (data(18) & !\Add1~4\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110100110001110",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => data(18),
	datad => VCC,
	cin => \Add1~4\,
	combout => \Add1~5_combout\,
	cout => \Add1~6\);

-- Location: LCCOMB_X28_Y4_N6
\Add1~16\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~16_combout\ = (\m[1]~input_o\ & (((\Add1~5_combout\)))) # (!\m[1]~input_o\ & (\u_key|val\(2) & (\m[0]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110101001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[1]~input_o\,
	datab => \u_key|val\(2),
	datac => \m[0]~input_o\,
	datad => \Add1~5_combout\,
	combout => \Add1~16_combout\);

-- Location: FF_X29_Y4_N27
\data[18]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \Add1~16_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \data[19]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(18));

-- Location: LCCOMB_X28_Y4_N18
\Add1~7\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~7_combout\ = (\m[0]~input_o\ & ((data(19) & (\Add1~6\ & VCC)) # (!data(19) & (!\Add1~6\)))) # (!\m[0]~input_o\ & ((data(19) & (!\Add1~6\)) # (!data(19) & ((\Add1~6\) # (GND)))))
-- \Add1~8\ = CARRY((\m[0]~input_o\ & (!data(19) & !\Add1~6\)) # (!\m[0]~input_o\ & ((!\Add1~6\) # (!data(19)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1001011000010111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => data(19),
	datad => VCC,
	cin => \Add1~6\,
	combout => \Add1~7_combout\,
	cout => \Add1~8\);

-- Location: LCCOMB_X29_Y4_N12
\Add1~20\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~20_combout\ = (\m[1]~input_o\ & (((\Add1~7_combout\)))) # (!\m[1]~input_o\ & (\m[0]~input_o\ & (\u_key|val\(3))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111100000001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[0]~input_o\,
	datab => \u_key|val\(3),
	datac => \m[1]~input_o\,
	datad => \Add1~7_combout\,
	combout => \Add1~20_combout\);

-- Location: FF_X29_Y4_N13
\data[19]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add1~20_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[19]~2_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(19));

-- Location: LCCOMB_X28_Y4_N20
\Add1~9\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~9_combout\ = ((data(20) $ (\m[0]~input_o\ $ (!\Add1~8\)))) # (GND)
-- \Add1~10\ = CARRY((data(20) & ((\m[0]~input_o\) # (!\Add1~8\))) # (!data(20) & (\m[0]~input_o\ & !\Add1~8\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110100110001110",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => data(20),
	datab => \m[0]~input_o\,
	datad => VCC,
	cin => \Add1~8\,
	combout => \Add1~9_combout\,
	cout => \Add1~10\);

-- Location: LCCOMB_X28_Y4_N0
\Add1~11\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~11_combout\ = (\m[1]~input_o\ & (((\Add1~9_combout\)))) # (!\m[1]~input_o\ & (\m[0]~input_o\ & (\u_key|val\(0))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110101001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[1]~input_o\,
	datab => \m[0]~input_o\,
	datac => \u_key|val\(0),
	datad => \Add1~9_combout\,
	combout => \Add1~11_combout\);

-- Location: LCCOMB_X26_Y3_N26
\data[23]~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \data[23]~3_combout\ = (\m[0]~input_o\ & (((!\u_key|is_pressed~q\) # (!\key_sel[1]~input_o\)) # (!\key_sel[0]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0100110011001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \key_sel[0]~input_o\,
	datab => \m[0]~input_o\,
	datac => \key_sel[1]~input_o\,
	datad => \u_key|is_pressed~q\,
	combout => \data[23]~3_combout\);

-- Location: LCCOMB_X28_Y4_N8
\data[23]~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \data[23]~4_combout\ = (\m[1]~input_o\ & (cnt(1) & ((!\Equal0~4_combout\)))) # (!\m[1]~input_o\ & (((!\data[23]~3_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000010110001101",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[1]~input_o\,
	datab => cnt(1),
	datac => \data[23]~3_combout\,
	datad => \Equal0~4_combout\,
	combout => \data[23]~4_combout\);

-- Location: FF_X28_Y4_N1
\data[20]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add1~11_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[23]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(20));

-- Location: LCCOMB_X28_Y4_N22
\Add1~13\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~13_combout\ = (data(21) & ((\m[0]~input_o\ & (\Add1~10\ & VCC)) # (!\m[0]~input_o\ & (!\Add1~10\)))) # (!data(21) & ((\m[0]~input_o\ & (!\Add1~10\)) # (!\m[0]~input_o\ & ((\Add1~10\) # (GND)))))
-- \Add1~14\ = CARRY((data(21) & (!\m[0]~input_o\ & !\Add1~10\)) # (!data(21) & ((!\Add1~10\) # (!\m[0]~input_o\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1001011000010111",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => data(21),
	datab => \m[0]~input_o\,
	datad => VCC,
	cin => \Add1~10\,
	combout => \Add1~13_combout\,
	cout => \Add1~14\);

-- Location: LCCOMB_X28_Y4_N28
\Add1~15\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~15_combout\ = (\m[1]~input_o\ & (((\Add1~13_combout\)))) # (!\m[1]~input_o\ & (\m[0]~input_o\ & ((\u_key|val\(1)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110010010100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[1]~input_o\,
	datab => \m[0]~input_o\,
	datac => \Add1~13_combout\,
	datad => \u_key|val\(1),
	combout => \Add1~15_combout\);

-- Location: FF_X28_Y4_N29
\data[21]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add1~15_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[23]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(21));

-- Location: LCCOMB_X27_Y4_N4
\u_display|Mux2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux2~0_combout\ = (\u_display|sel\(0) & ((data(17)) # ((\u_display|sel\(2))))) # (!\u_display|sel\(0) & (((data(21) & !\u_display|sel\(2)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000010101100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => data(17),
	datab => data(21),
	datac => \u_display|sel\(0),
	datad => \u_display|sel\(2),
	combout => \u_display|Mux2~0_combout\);

-- Location: LCCOMB_X26_Y4_N16
\u_display|Mux2~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux2~1_combout\ = (\u_display|sel\(2) & ((\u_display|Mux2~0_combout\ & ((data(1)))) # (!\u_display|Mux2~0_combout\ & (data(5))))) # (!\u_display|sel\(2) & (((\u_display|Mux2~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100111110100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => data(5),
	datab => data(1),
	datac => \u_display|sel\(2),
	datad => \u_display|Mux2~0_combout\,
	combout => \u_display|Mux2~1_combout\);

-- Location: LCCOMB_X27_Y4_N22
\u_display|Mux2~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux2~2_combout\ = (\u_display|Mux2~1_combout\ & \u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_display|Mux2~1_combout\,
	datad => \u_display|sel\(1),
	combout => \u_display|Mux2~2_combout\);

-- Location: LCCOMB_X28_Y3_N0
\r[2][4]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][4]~feeder_combout\ = \u_key|val\(0)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(0),
	combout => \r[2][4]~feeder_combout\);

-- Location: FF_X28_Y3_N1
\r[2][4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][4]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][4]~1_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][4]~q\);

-- Location: FF_X25_Y4_N29
\r[3][4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(0),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][4]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][4]~q\);

-- Location: FF_X25_Y3_N27
\r[0][4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(0),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][4]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][4]~q\);

-- Location: LCCOMB_X25_Y3_N0
\r[1][4]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][4]~feeder_combout\ = \u_key|val\(0)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(0),
	combout => \r[1][4]~feeder_combout\);

-- Location: FF_X25_Y3_N1
\r[1][4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][4]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][4]~3_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][4]~q\);

-- Location: LCCOMB_X25_Y3_N26
\Selector3~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector3~0_combout\ = (\ra[0]~input_o\ & ((\ra[1]~input_o\) # ((\r[1][4]~q\)))) # (!\ra[0]~input_o\ & (!\ra[1]~input_o\ & (\r[0][4]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[0]~input_o\,
	datab => \ra[1]~input_o\,
	datac => \r[0][4]~q\,
	datad => \r[1][4]~q\,
	combout => \Selector3~0_combout\);

-- Location: LCCOMB_X25_Y4_N28
\Selector3~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector3~1_combout\ = (\ra[1]~input_o\ & ((\Selector3~0_combout\ & ((\r[3][4]~q\))) # (!\Selector3~0_combout\ & (\r[2][4]~q\)))) # (!\ra[1]~input_o\ & (((\Selector3~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[2][4]~q\,
	datab => \ra[1]~input_o\,
	datac => \r[3][4]~q\,
	datad => \Selector3~0_combout\,
	combout => \Selector3~1_combout\);

-- Location: LCCOMB_X26_Y4_N8
\Selector3~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector3~2_combout\ = (\wr~input_o\ & ((\rd~input_o\ & (\u_key|val\(0))) # (!\rd~input_o\ & ((\Selector3~1_combout\))))) # (!\wr~input_o\ & (\u_key|val\(0)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100111011000100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \u_key|val\(0),
	datac => \rd~input_o\,
	datad => \Selector3~1_combout\,
	combout => \Selector3~2_combout\);

-- Location: FF_X26_Y4_N9
\data[4]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector3~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[5]~0_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(4));

-- Location: LCCOMB_X28_Y4_N2
\u_display|Mux3~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux3~0_combout\ = (\u_display|sel\(0) & ((\u_display|sel\(2)) # ((data(16))))) # (!\u_display|sel\(0) & (!\u_display|sel\(2) & ((data(20)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011100110101000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|sel\(0),
	datab => \u_display|sel\(2),
	datac => data(16),
	datad => data(20),
	combout => \u_display|Mux3~0_combout\);

-- Location: LCCOMB_X28_Y3_N22
\r[1][0]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][0]~feeder_combout\ = \u_key|val\(0)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(0),
	combout => \r[1][0]~feeder_combout\);

-- Location: FF_X28_Y3_N23
\r[1][0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][0]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][0]~6_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][0]~q\);

-- Location: FF_X26_Y3_N17
\r[3][0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(0),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][0]~9_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][0]~q\);

-- Location: FF_X27_Y3_N7
\r[0][0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(0),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][0]~8_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][0]~q\);

-- Location: LCCOMB_X27_Y3_N28
\r[2][0]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][0]~feeder_combout\ = \u_key|val\(0)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(0),
	combout => \r[2][0]~feeder_combout\);

-- Location: FF_X27_Y3_N29
\r[2][0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][0]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][0]~7_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][0]~q\);

-- Location: LCCOMB_X27_Y3_N6
\Selector7~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector7~0_combout\ = (\ra[1]~input_o\ & ((\ra[0]~input_o\) # ((\r[2][0]~q\)))) # (!\ra[1]~input_o\ & (!\ra[0]~input_o\ & (\r[0][0]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[1]~input_o\,
	datab => \ra[0]~input_o\,
	datac => \r[0][0]~q\,
	datad => \r[2][0]~q\,
	combout => \Selector7~0_combout\);

-- Location: LCCOMB_X26_Y3_N16
\Selector7~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector7~1_combout\ = (\ra[0]~input_o\ & ((\Selector7~0_combout\ & ((\r[3][0]~q\))) # (!\Selector7~0_combout\ & (\r[1][0]~q\)))) # (!\ra[0]~input_o\ & (((\Selector7~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[1][0]~q\,
	datab => \ra[0]~input_o\,
	datac => \r[3][0]~q\,
	datad => \Selector7~0_combout\,
	combout => \Selector7~1_combout\);

-- Location: LCCOMB_X25_Y4_N8
\Selector7~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector7~2_combout\ = (\wr~input_o\ & ((\rd~input_o\ & (\u_key|val\(0))) # (!\rd~input_o\ & ((\Selector7~1_combout\))))) # (!\wr~input_o\ & (((\u_key|val\(0)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001011010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \rd~input_o\,
	datac => \u_key|val\(0),
	datad => \Selector7~1_combout\,
	combout => \Selector7~2_combout\);

-- Location: FF_X25_Y4_N9
\data[0]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector7~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[3]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(0));

-- Location: LCCOMB_X26_Y4_N0
\u_display|Mux3~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux3~1_combout\ = (\u_display|sel\(2) & ((\u_display|Mux3~0_combout\ & ((data(0)))) # (!\u_display|Mux3~0_combout\ & (data(4))))) # (!\u_display|sel\(2) & (((\u_display|Mux3~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111100001011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|sel\(2),
	datab => data(4),
	datac => \u_display|Mux3~0_combout\,
	datad => data(0),
	combout => \u_display|Mux3~1_combout\);

-- Location: LCCOMB_X27_Y4_N26
\u_display|Mux3~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux3~2_combout\ = (\u_display|Mux3~1_combout\ & \u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_display|Mux3~1_combout\,
	datad => \u_display|sel\(1),
	combout => \u_display|Mux3~2_combout\);

-- Location: LCCOMB_X28_Y3_N10
\r[1][3]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][3]~feeder_combout\ = \u_key|val\(3)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datad => \u_key|val\(3),
	combout => \r[1][3]~feeder_combout\);

-- Location: FF_X28_Y3_N11
\r[1][3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][3]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][0]~6_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][3]~q\);

-- Location: FF_X26_Y3_N31
\r[3][3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(3),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][0]~9_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][3]~q\);

-- Location: FF_X27_Y3_N23
\r[0][3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(3),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][0]~8_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][3]~q\);

-- Location: LCCOMB_X27_Y3_N12
\r[2][3]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][3]~feeder_combout\ = \u_key|val\(3)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(3),
	combout => \r[2][3]~feeder_combout\);

-- Location: FF_X27_Y3_N13
\r[2][3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][3]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][0]~7_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][3]~q\);

-- Location: LCCOMB_X27_Y3_N22
\Selector4~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector4~0_combout\ = (\ra[1]~input_o\ & ((\ra[0]~input_o\) # ((\r[2][3]~q\)))) # (!\ra[1]~input_o\ & (!\ra[0]~input_o\ & (\r[0][3]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[1]~input_o\,
	datab => \ra[0]~input_o\,
	datac => \r[0][3]~q\,
	datad => \r[2][3]~q\,
	combout => \Selector4~0_combout\);

-- Location: LCCOMB_X26_Y3_N30
\Selector4~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector4~1_combout\ = (\ra[0]~input_o\ & ((\Selector4~0_combout\ & ((\r[3][3]~q\))) # (!\Selector4~0_combout\ & (\r[1][3]~q\)))) # (!\ra[0]~input_o\ & (((\Selector4~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[1][3]~q\,
	datab => \ra[0]~input_o\,
	datac => \r[3][3]~q\,
	datad => \Selector4~0_combout\,
	combout => \Selector4~1_combout\);

-- Location: LCCOMB_X25_Y4_N2
\Selector4~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector4~2_combout\ = (\wr~input_o\ & ((\rd~input_o\ & (\u_key|val\(3))) # (!\rd~input_o\ & ((\Selector4~1_combout\))))) # (!\wr~input_o\ & (((\u_key|val\(3)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001011010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \rd~input_o\,
	datac => \u_key|val\(3),
	datad => \Selector4~1_combout\,
	combout => \Selector4~2_combout\);

-- Location: FF_X25_Y4_N3
\data[3]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector4~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[3]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(3));

-- Location: LCCOMB_X28_Y3_N20
\r[2][7]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][7]~feeder_combout\ = \u_key|val\(3)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datad => \u_key|val\(3),
	combout => \r[2][7]~feeder_combout\);

-- Location: FF_X28_Y3_N21
\r[2][7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][7]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][4]~1_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][7]~q\);

-- Location: FF_X25_Y4_N21
\r[3][7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(3),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][4]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][7]~q\);

-- Location: FF_X25_Y3_N23
\r[0][7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(3),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][4]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][7]~q\);

-- Location: LCCOMB_X25_Y3_N12
\r[1][7]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][7]~feeder_combout\ = \u_key|val\(3)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(3),
	combout => \r[1][7]~feeder_combout\);

-- Location: FF_X25_Y3_N13
\r[1][7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][7]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][4]~3_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][7]~q\);

-- Location: LCCOMB_X25_Y3_N22
\Selector0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector0~0_combout\ = (\ra[0]~input_o\ & ((\ra[1]~input_o\) # ((\r[1][7]~q\)))) # (!\ra[0]~input_o\ & (!\ra[1]~input_o\ & (\r[0][7]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[0]~input_o\,
	datab => \ra[1]~input_o\,
	datac => \r[0][7]~q\,
	datad => \r[1][7]~q\,
	combout => \Selector0~0_combout\);

-- Location: LCCOMB_X25_Y4_N20
\Selector0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector0~1_combout\ = (\ra[1]~input_o\ & ((\Selector0~0_combout\ & ((\r[3][7]~q\))) # (!\Selector0~0_combout\ & (\r[2][7]~q\)))) # (!\ra[1]~input_o\ & (((\Selector0~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[2][7]~q\,
	datab => \ra[1]~input_o\,
	datac => \r[3][7]~q\,
	datad => \Selector0~0_combout\,
	combout => \Selector0~1_combout\);

-- Location: LCCOMB_X26_Y4_N20
\Selector0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector0~2_combout\ = (\wr~input_o\ & ((\rd~input_o\ & (\u_key|val\(3))) # (!\rd~input_o\ & ((\Selector0~1_combout\))))) # (!\wr~input_o\ & (\u_key|val\(3)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100111011000100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \u_key|val\(3),
	datac => \rd~input_o\,
	datad => \Selector0~1_combout\,
	combout => \Selector0~2_combout\);

-- Location: FF_X26_Y4_N21
\data[7]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector0~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[5]~0_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(7));

-- Location: LCCOMB_X28_Y4_N24
\Add1~17\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~17_combout\ = ((data(22) $ (\m[0]~input_o\ $ (!\Add1~14\)))) # (GND)
-- \Add1~18\ = CARRY((data(22) & ((\m[0]~input_o\) # (!\Add1~14\))) # (!data(22) & (\m[0]~input_o\ & !\Add1~14\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0110100110001110",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => data(22),
	datab => \m[0]~input_o\,
	datad => VCC,
	cin => \Add1~14\,
	combout => \Add1~17_combout\,
	cout => \Add1~18\);

-- Location: LCCOMB_X28_Y4_N10
\Add1~19\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~19_combout\ = (\m[1]~input_o\ & (((\Add1~17_combout\)))) # (!\m[1]~input_o\ & (\u_key|val\(2) & (\m[0]~input_o\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110101001000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[1]~input_o\,
	datab => \u_key|val\(2),
	datac => \m[0]~input_o\,
	datad => \Add1~17_combout\,
	combout => \Add1~19_combout\);

-- Location: FF_X28_Y4_N11
\data[22]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add1~19_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[23]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(22));

-- Location: LCCOMB_X28_Y4_N26
\Add1~21\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~21_combout\ = data(23) $ (\m[0]~input_o\ $ (\Add1~18\))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1001011010010110",
	sum_lutc_input => "cin")
-- pragma translate_on
PORT MAP (
	dataa => data(23),
	datab => \m[0]~input_o\,
	cin => \Add1~18\,
	combout => \Add1~21_combout\);

-- Location: LCCOMB_X28_Y4_N30
\Add1~23\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Add1~23_combout\ = (\m[1]~input_o\ & (((\Add1~21_combout\)))) # (!\m[1]~input_o\ & (\m[0]~input_o\ & ((\u_key|val\(3)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110010010100000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \m[1]~input_o\,
	datab => \m[0]~input_o\,
	datac => \Add1~21_combout\,
	datad => \u_key|val\(3),
	combout => \Add1~23_combout\);

-- Location: FF_X28_Y4_N31
\data[23]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Add1~23_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[23]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(23));

-- Location: LCCOMB_X27_Y4_N6
\u_display|Mux0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux0~0_combout\ = (\u_display|sel\(0) & (((data(19)) # (\u_display|sel\(2))))) # (!\u_display|sel\(0) & (data(23) & ((!\u_display|sel\(2)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100110011100010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => data(23),
	datab => \u_display|sel\(0),
	datac => data(19),
	datad => \u_display|sel\(2),
	combout => \u_display|Mux0~0_combout\);

-- Location: LCCOMB_X26_Y4_N14
\u_display|Mux0~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux0~1_combout\ = (\u_display|sel\(2) & ((\u_display|Mux0~0_combout\ & (data(3))) # (!\u_display|Mux0~0_combout\ & ((data(7)))))) # (!\u_display|sel\(2) & (((\u_display|Mux0~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010111111000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => data(3),
	datab => data(7),
	datac => \u_display|sel\(2),
	datad => \u_display|Mux0~0_combout\,
	combout => \u_display|Mux0~1_combout\);

-- Location: LCCOMB_X27_Y4_N12
\u_display|Mux0~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux0~2_combout\ = (\u_display|Mux0~1_combout\ & \u_display|sel\(1))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1010101000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux0~1_combout\,
	datad => \u_display|sel\(1),
	combout => \u_display|Mux0~2_combout\);

-- Location: LCCOMB_X28_Y3_N12
\r[2][6]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][6]~feeder_combout\ = \u_key|val\(2)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datad => \u_key|val\(2),
	combout => \r[2][6]~feeder_combout\);

-- Location: FF_X28_Y3_N13
\r[2][6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][6]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][4]~1_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][6]~q\);

-- Location: FF_X25_Y4_N15
\r[3][6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(2),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][4]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][6]~q\);

-- Location: FF_X25_Y3_N11
\r[0][6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(2),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][4]~4_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][6]~q\);

-- Location: LCCOMB_X25_Y3_N20
\r[1][6]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][6]~feeder_combout\ = \u_key|val\(2)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(2),
	combout => \r[1][6]~feeder_combout\);

-- Location: FF_X25_Y3_N21
\r[1][6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][6]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][4]~3_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][6]~q\);

-- Location: LCCOMB_X25_Y3_N10
\Selector1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector1~0_combout\ = (\ra[0]~input_o\ & ((\ra[1]~input_o\) # ((\r[1][6]~q\)))) # (!\ra[0]~input_o\ & (!\ra[1]~input_o\ & (\r[0][6]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[0]~input_o\,
	datab => \ra[1]~input_o\,
	datac => \r[0][6]~q\,
	datad => \r[1][6]~q\,
	combout => \Selector1~0_combout\);

-- Location: LCCOMB_X25_Y4_N14
\Selector1~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector1~1_combout\ = (\ra[1]~input_o\ & ((\Selector1~0_combout\ & ((\r[3][6]~q\))) # (!\Selector1~0_combout\ & (\r[2][6]~q\)))) # (!\ra[1]~input_o\ & (((\Selector1~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[2][6]~q\,
	datab => \ra[1]~input_o\,
	datac => \r[3][6]~q\,
	datad => \Selector1~0_combout\,
	combout => \Selector1~1_combout\);

-- Location: LCCOMB_X26_Y4_N2
\Selector1~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector1~2_combout\ = (\rd~input_o\ & (((\u_key|val\(2))))) # (!\rd~input_o\ & ((\wr~input_o\ & ((\Selector1~1_combout\))) # (!\wr~input_o\ & (\u_key|val\(2)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111010010110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \rd~input_o\,
	datab => \wr~input_o\,
	datac => \u_key|val\(2),
	datad => \Selector1~1_combout\,
	combout => \Selector1~2_combout\);

-- Location: FF_X26_Y4_N3
\data[6]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector1~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[5]~0_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(6));

-- Location: LCCOMB_X28_Y3_N26
\r[1][2]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[1][2]~feeder_combout\ = \u_key|val\(2)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111111100000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datad => \u_key|val\(2),
	combout => \r[1][2]~feeder_combout\);

-- Location: FF_X28_Y3_N27
\r[1][2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[1][2]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[1][0]~6_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[1][2]~q\);

-- Location: FF_X26_Y3_N25
\r[3][2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(2),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[3][0]~9_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[3][2]~q\);

-- Location: FF_X27_Y3_N19
\r[0][2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	asdata => \u_key|val\(2),
	clrn => \rst~inputclkctrl_outclk\,
	sload => VCC,
	ena => \r[0][0]~8_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[0][2]~q\);

-- Location: LCCOMB_X27_Y3_N0
\r[2][2]~feeder\ : cycloneiii_lcell_comb
-- Equation(s):
-- \r[2][2]~feeder_combout\ = \u_key|val\(2)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111000011110000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datac => \u_key|val\(2),
	combout => \r[2][2]~feeder_combout\);

-- Location: FF_X27_Y3_N1
\r[2][2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \r[2][2]~feeder_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \r[2][0]~7_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => \r[2][2]~q\);

-- Location: LCCOMB_X27_Y3_N18
\Selector5~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector5~0_combout\ = (\ra[1]~input_o\ & ((\ra[0]~input_o\) # ((\r[2][2]~q\)))) # (!\ra[1]~input_o\ & (!\ra[0]~input_o\ & (\r[0][2]~q\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011101010011000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \ra[1]~input_o\,
	datab => \ra[0]~input_o\,
	datac => \r[0][2]~q\,
	datad => \r[2][2]~q\,
	combout => \Selector5~0_combout\);

-- Location: LCCOMB_X26_Y3_N24
\Selector5~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector5~1_combout\ = (\ra[0]~input_o\ & ((\Selector5~0_combout\ & ((\r[3][2]~q\))) # (!\Selector5~0_combout\ & (\r[1][2]~q\)))) # (!\ra[0]~input_o\ & (((\Selector5~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \r[1][2]~q\,
	datab => \ra[0]~input_o\,
	datac => \r[3][2]~q\,
	datad => \Selector5~0_combout\,
	combout => \Selector5~1_combout\);

-- Location: LCCOMB_X25_Y4_N4
\Selector5~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \Selector5~2_combout\ = (\wr~input_o\ & ((\rd~input_o\ & (\u_key|val\(2))) # (!\rd~input_o\ & ((\Selector5~1_combout\))))) # (!\wr~input_o\ & (((\u_key|val\(2)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001011010000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \wr~input_o\,
	datab => \rd~input_o\,
	datac => \u_key|val\(2),
	datad => \Selector5~1_combout\,
	combout => \Selector5~2_combout\);

-- Location: FF_X25_Y4_N5
\data[2]\ : dffeas
-- pragma translate_off
GENERIC MAP (
	is_wysiwyg => "true",
	power_up => "low")
-- pragma translate_on
PORT MAP (
	clk => \ALT_INV_clk~inputclkctrl_outclk\,
	d => \Selector5~2_combout\,
	clrn => \rst~inputclkctrl_outclk\,
	ena => \data[3]~5_combout\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	q => data(2));

-- Location: LCCOMB_X28_Y4_N4
\u_display|Mux1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux1~0_combout\ = (\u_display|sel\(2) & (((\u_display|sel\(0))))) # (!\u_display|sel\(2) & ((\u_display|sel\(0) & ((data(18)))) # (!\u_display|sel\(0) & (data(22)))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111110000100010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => data(22),
	datab => \u_display|sel\(2),
	datac => data(18),
	datad => \u_display|sel\(0),
	combout => \u_display|Mux1~0_combout\);

-- Location: LCCOMB_X27_Y4_N24
\u_display|Mux1~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux1~1_combout\ = (\u_display|sel\(2) & ((\u_display|Mux1~0_combout\ & ((data(2)))) # (!\u_display|Mux1~0_combout\ & (data(6))))) # (!\u_display|sel\(2) & (((\u_display|Mux1~0_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1111001110001000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => data(6),
	datab => \u_display|sel\(2),
	datac => data(2),
	datad => \u_display|Mux1~0_combout\,
	combout => \u_display|Mux1~1_combout\);

-- Location: LCCOMB_X28_Y32_N20
\u_display|Mux1~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|Mux1~2_combout\ = (\u_display|sel\(1) & \u_display|Mux1~1_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100000011000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datac => \u_display|Mux1~1_combout\,
	combout => \u_display|Mux1~2_combout\);

-- Location: LCCOMB_X28_Y32_N2
\u_display|WideOr6~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|WideOr6~0_combout\ = (\u_display|Mux0~2_combout\ & (\u_display|Mux3~2_combout\ & (\u_display|Mux2~2_combout\ $ (\u_display|Mux1~2_combout\)))) # (!\u_display|Mux0~2_combout\ & (!\u_display|Mux2~2_combout\ & (\u_display|Mux3~2_combout\ $ 
-- (\u_display|Mux1~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0100000110000100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux2~2_combout\,
	datab => \u_display|Mux3~2_combout\,
	datac => \u_display|Mux0~2_combout\,
	datad => \u_display|Mux1~2_combout\,
	combout => \u_display|WideOr6~0_combout\);

-- Location: LCCOMB_X28_Y32_N16
\u_display|seg[0]~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|seg[0]~0_combout\ = (\u_display|sel\(1) & !\u_display|WideOr6~0_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000011001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datad => \u_display|WideOr6~0_combout\,
	combout => \u_display|seg[0]~0_combout\);

-- Location: LCCOMB_X28_Y32_N14
\u_display|WideOr5~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|WideOr5~0_combout\ = (\u_display|Mux2~2_combout\ & ((\u_display|Mux3~2_combout\ & (\u_display|Mux0~2_combout\)) # (!\u_display|Mux3~2_combout\ & ((\u_display|Mux1~2_combout\))))) # (!\u_display|Mux2~2_combout\ & (\u_display|Mux1~2_combout\ & 
-- (\u_display|Mux3~2_combout\ $ (\u_display|Mux0~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011011010000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux2~2_combout\,
	datab => \u_display|Mux3~2_combout\,
	datac => \u_display|Mux0~2_combout\,
	datad => \u_display|Mux1~2_combout\,
	combout => \u_display|WideOr5~0_combout\);

-- Location: LCCOMB_X28_Y32_N28
\u_display|seg[1]~1\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|seg[1]~1_combout\ = (\u_display|sel\(1) & !\u_display|WideOr5~0_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000110000001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datac => \u_display|WideOr5~0_combout\,
	combout => \u_display|seg[1]~1_combout\);

-- Location: LCCOMB_X28_Y32_N30
\u_display|WideOr4~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|WideOr4~0_combout\ = (\u_display|Mux0~2_combout\ & (\u_display|Mux1~2_combout\ & ((\u_display|Mux2~2_combout\) # (!\u_display|Mux3~2_combout\)))) # (!\u_display|Mux0~2_combout\ & (\u_display|Mux2~2_combout\ & (!\u_display|Mux3~2_combout\ & 
-- !\u_display|Mux1~2_combout\)))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1011000000000010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux2~2_combout\,
	datab => \u_display|Mux3~2_combout\,
	datac => \u_display|Mux0~2_combout\,
	datad => \u_display|Mux1~2_combout\,
	combout => \u_display|WideOr4~0_combout\);

-- Location: LCCOMB_X28_Y32_N4
\u_display|seg[2]~2\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|seg[2]~2_combout\ = (\u_display|sel\(1) & !\u_display|WideOr4~0_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000110000001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datac => \u_display|WideOr4~0_combout\,
	combout => \u_display|seg[2]~2_combout\);

-- Location: LCCOMB_X28_Y32_N26
\u_display|WideOr3~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|WideOr3~0_combout\ = (\u_display|Mux2~2_combout\ & ((\u_display|Mux3~2_combout\ & ((\u_display|Mux1~2_combout\))) # (!\u_display|Mux3~2_combout\ & (\u_display|Mux0~2_combout\ & !\u_display|Mux1~2_combout\)))) # (!\u_display|Mux2~2_combout\ & 
-- (!\u_display|Mux0~2_combout\ & (\u_display|Mux3~2_combout\ $ (\u_display|Mux1~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1000100100100100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux2~2_combout\,
	datab => \u_display|Mux3~2_combout\,
	datac => \u_display|Mux0~2_combout\,
	datad => \u_display|Mux1~2_combout\,
	combout => \u_display|WideOr3~0_combout\);

-- Location: LCCOMB_X28_Y32_N8
\u_display|seg[3]~3\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|seg[3]~3_combout\ = (\u_display|sel\(1) & !\u_display|WideOr3~0_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000110000001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datac => \u_display|WideOr3~0_combout\,
	combout => \u_display|seg[3]~3_combout\);

-- Location: LCCOMB_X28_Y32_N22
\u_display|WideOr2~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|WideOr2~0_combout\ = (\u_display|Mux2~2_combout\ & (\u_display|Mux3~2_combout\ & (!\u_display|Mux0~2_combout\))) # (!\u_display|Mux2~2_combout\ & ((\u_display|Mux1~2_combout\ & ((!\u_display|Mux0~2_combout\))) # (!\u_display|Mux1~2_combout\ & 
-- (\u_display|Mux3~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000110101001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux2~2_combout\,
	datab => \u_display|Mux3~2_combout\,
	datac => \u_display|Mux0~2_combout\,
	datad => \u_display|Mux1~2_combout\,
	combout => \u_display|WideOr2~0_combout\);

-- Location: LCCOMB_X28_Y32_N24
\u_display|seg[4]~4\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|seg[4]~4_combout\ = (\u_display|sel\(1) & !\u_display|WideOr2~0_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000110000001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datac => \u_display|WideOr2~0_combout\,
	combout => \u_display|seg[4]~4_combout\);

-- Location: LCCOMB_X28_Y32_N10
\u_display|WideOr1~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|WideOr1~0_combout\ = (\u_display|Mux2~2_combout\ & (!\u_display|Mux0~2_combout\ & ((\u_display|Mux3~2_combout\) # (!\u_display|Mux1~2_combout\)))) # (!\u_display|Mux2~2_combout\ & (\u_display|Mux3~2_combout\ & (\u_display|Mux0~2_combout\ $ 
-- (!\u_display|Mux1~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0100100000001110",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux2~2_combout\,
	datab => \u_display|Mux3~2_combout\,
	datac => \u_display|Mux0~2_combout\,
	datad => \u_display|Mux1~2_combout\,
	combout => \u_display|WideOr1~0_combout\);

-- Location: LCCOMB_X28_Y32_N0
\u_display|seg[5]~5\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|seg[5]~5_combout\ = (\u_display|sel\(1) & !\u_display|WideOr1~0_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "0000000011001100",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datad => \u_display|WideOr1~0_combout\,
	combout => \u_display|seg[5]~5_combout\);

-- Location: LCCOMB_X28_Y32_N18
\u_display|WideOr0~0\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|WideOr0~0_combout\ = (\u_display|Mux3~2_combout\ & ((\u_display|Mux0~2_combout\) # (\u_display|Mux2~2_combout\ $ (\u_display|Mux1~2_combout\)))) # (!\u_display|Mux3~2_combout\ & ((\u_display|Mux2~2_combout\) # (\u_display|Mux0~2_combout\ $ 
-- (\u_display|Mux1~2_combout\))))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1110011111111010",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	dataa => \u_display|Mux2~2_combout\,
	datab => \u_display|Mux3~2_combout\,
	datac => \u_display|Mux0~2_combout\,
	datad => \u_display|Mux1~2_combout\,
	combout => \u_display|WideOr0~0_combout\);

-- Location: LCCOMB_X28_Y32_N12
\u_display|seg[6]~6\ : cycloneiii_lcell_comb
-- Equation(s):
-- \u_display|seg[6]~6_combout\ = (\u_display|sel\(1) & \u_display|WideOr0~0_combout\)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "1100110000000000",
	sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
	datab => \u_display|sel\(1),
	datad => \u_display|WideOr0~0_combout\,
	combout => \u_display|seg[6]~6_combout\);

ww_key_col(0) <= \key_col[0]~output_o\;

ww_key_col(1) <= \key_col[1]~output_o\;

ww_key_col(2) <= \key_col[2]~output_o\;

ww_key_col(3) <= \key_col[3]~output_o\;

ww_seg(0) <= \seg[0]~output_o\;

ww_seg(1) <= \seg[1]~output_o\;

ww_seg(2) <= \seg[2]~output_o\;

ww_seg(3) <= \seg[3]~output_o\;

ww_seg(4) <= \seg[4]~output_o\;

ww_seg(5) <= \seg[5]~output_o\;

ww_seg(6) <= \seg[6]~output_o\;

ww_seg(7) <= \seg[7]~output_o\;

ww_sel(0) <= \sel[0]~output_o\;

ww_sel(1) <= \sel[1]~output_o\;

ww_sel(2) <= \sel[2]~output_o\;
END structure;


